/*
 * Console.h
 *
 *  Created on: Jul 12, 2012
 *      Author: The Almighty Eric
 */

#ifndef CONSOLE_H
#define CONSOLE_H

#include "SDL.h"
#include <string>
#include <list>
#include "GameMap.h"
#include "engine.h"
#include "itoa.h"

class Console
{
public:
	//Command string
	std::string command;
	std::list<std::string> contents;

	Console();
	void Issue(GameMap *m, engine *e, int *gridw, int *gridh);
	void parsecommand(std::string *com, std::list<std::string> *params);
};

#endif
